package com.cq.hd.product.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ActiveShareVo implements Serializable {

    @ApiModelProperty(value = "分享用户名称")
    private String nickName;

    @ApiModelProperty(value = "分享用户头像")
    private String avatar;

    @ApiModelProperty(value = "活动标题")
    private String activeTitle;

    @ApiModelProperty(value = "活动图片")
    private String activeImg;

    @ApiModelProperty(value = "活动价格")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal activePrice;

    @ApiModelProperty(value = "划线价格")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal originPrice;

    @ApiModelProperty(value = "小程序图片")
    private String miniImgUrl;

    @ApiModelProperty(value = "分享码")
    private String shareCode;

    @ApiModelProperty(value = "商家id")
    private Long businessId;

    @ApiModelProperty(value = "商家logo")
    private String logo;

    @ApiModelProperty(value = "分享海报显示商家头像：1是 2否")
    private Integer posterShowAvatarState;

    @ApiModelProperty(value = "商家简称")
    private String businessShortName;

}
